[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]
[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":
Discover gists
| all: excellon.html excellon.pdf | |
| excellon.html: excellon.md | |
| @pandoc $< -o $@ | |
| excellon.pdf.md: excellon.md | |
| @cat $< | sed 's/\.png/\.pdf/g' > $@ | |
| excellon.pdf: excellon.pdf.md | |
| @pandoc $< --latex-engine=pdflatex -o $@ |
| ;; Copyright (c) Alan Dipert. All rights reserved. | |
| ;; The use and distribution terms for this software are covered by the | |
| ;; Eclipse Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) | |
| ;; By using this software in any fashion, you are agreeing to be bound by | |
| ;; the terms of this license. | |
| ;; You must not remove this notice, or any other, from this software. | |
| (ns alandipert.kahn | |
| (:require [clojure.set :refer [difference union intersection]])) |
A fire-and-forget workflow that takes a Linear issue ID and autonomously plans, tests, implements, and opens a draft PR — with TDD baked in. You walk away; it notifies you when done.
Built for OpenCode using custom agents and slash commands.
Important: The
/workflowcommand must run withagent: build(OpenCode's default agent with full tool access). The orchestrator needs unrestricted access to do git operations, dispatch subagents, and create PRs. If you're in a restricted mode, switch to build first.
Why this exists:
- Fire and forget. Kick off a task and walk away. You get notified when it's done or needs attention.
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
There’s been a lot of buzz recently in the dev community about building a modern successor to the Reggie Level Editor. While Reggie and Reggie Next have been the backbone of NSMBW modding for over a decade, their architecture is increasingly showing its age. Modern modding requires more advanced workflows.
This Gist outlines the proposed features, paradigms, and technical details for this currently unnamed successor. Feedback is highly encouraged!
We are evaluating several modern, cross-platform frameworks to ensure the editor is fast, maintainable, and accessible. The current candidates (ordered by popularity among the developer community) are:
- C# with Avalonia.
- C++ with Qt.
- Python with PyQt.
A pattern for building personal knowledge bases using LLMs.
This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.
Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.
| #!/bin/bash | |
| # k8s-debug-toolkit.sh | |
| # A collection of high-signal Kubernetes debugging aliases and functions. | |
| alias kgn='kubectl get nodes -o wide' | |
| alias kgp='kubectl get pods -A' | |
| alias kcl='kubectl logs -f' | |
| alias kex='kubectl exec -it' | |
| function kdebug() { |
| #!/usr/bin/env python3 | |
| # aws-iam-least-privilege-audit.py | |
| # Scans IAM policies for wildcards in sensitive actions and evaluates effective permissions. | |
| import boto3 | |
| import json | |
| SENSITIVE_ACTIONS = [ | |
| "iam:CreateUser", | |
| "iam:AddUserToGroup", |